package org.zs.miracle.service.resources;

import java.util.List;
import org.zs.miracle.common.base.dto.BaseManyLongIdDTO;
import org.zs.miracle.service.resources.model.dto.AddResourcesInputDTO;
import org.zs.miracle.service.resources.model.dto.EditResourcesDTO;
import org.zs.miracle.service.resources.model.dto.SetResourcesStateDTO;
import org.zs.miracle.service.resources.model.vo.ResourcesTreeVo;
import org.zs.miracle.service.resources.model.vo.ResourcesVo;

/**
 * 用户管理Service
 */
public interface IResourcesService {
  
  Boolean delResources(BaseManyLongIdDTO inputDTO);
  
  Boolean addResources(AddResourcesInputDTO inputDTO);
  
  List<ResourcesTreeVo> resourcesTree();
  
  /**
   * 查询资源下的按钮
   *
   * @param parentId 资源id
   * @return 下级按钮集合
   */
  List<ResourcesVo> button(Long parentId);
  
  Boolean editResources(EditResourcesDTO inputDTO);
  
  Boolean setState(SetResourcesStateDTO inputDTO);
}